package com.aphrodite.io.sip.header;

import java.util.Vector;

/** SIP Authorization header */
public class AuthorizationHeader extends AuthenticationHeader {
	/** Creates a new AuthorizationHeader */
	public AuthorizationHeader(Header hd) {
		super(hd);
	}

	/** Creates a new AuthorizationHeader */
	public AuthorizationHeader(String hvalue) {
		super(SipHeaders.Authorization, hvalue);
	}

	/**
	 * Creates a new AuthorizationHeader specifing the <i>auth_scheme</i> and
	 * the vector of authentication parameters.
	 * <p>
	 * <i>auth_param</i> is a vector of String of the form <i>parm_name</i> "="
	 * <i>parm_value</i>
	 */
	public AuthorizationHeader(String auth_scheme, Vector auth_params) {
		super(SipHeaders.Authorization, auth_scheme, auth_params);
	}
}
